* {
    /* 初始化 取消页面的内边距 */
    padding: 0;
    margin: 0;
}


.box {
    /* 弹性布局 是页面元素水平+垂直居中 */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: linear-gradient(#78f, #f78);
}

.box ul {
    width: 1000px;
    height: 320px;
    /* 溢出隐藏 */
    overflow: hidden;
    transition: all .3s;
}

.box ul li {
    /* 相对定位 */
    position: relative;
    float: left;
    list-style-type: none;
    width: 200px;
    height: 320px;
    transition: all .5s;
    overflow: hidden;
}

.box ul li img {
    position: relative;
    transform: translateX(-30%);
    transition: all 0.5s;
}

.box ul li p {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background-color: rgba(0, 0, 0, .3);
    transition: all .3s;
}

.box ul li:hover p {
    font-size: 20px;

}

.box ul:hover li {
    width: 90px;
}

.box ul li:hover {
    width: 640px;
    filter: blur(0px);
}

.box ul li:hover img {
    position: relative;
    /* left: -50%; */
    transform: translateX(0);
}